home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / grafik / mgl11 / mkdefs10 / watcom.def < prev    next >
Encoding:
Text File  |  1994-03-08  |  1.4 KB  |  43 lines

  1. #############################################################################
  2. #
  3. #                   Copyright (C) 1993 SciTech Software
  4. #                           All rights reserved.
  5. #
  6. # Descripton:   Makefile definitions for compiling SciTech Software products.
  7. #               Watcom C/C++^32 and DOS4GW version.
  8. #
  9. # $Id: watcom.def 1.1 1994/03/06 07:48:03 kjb Exp $
  10. #
  11. #############################################################################
  12.  
  13. # The following will need to be changed to reflect your normal include file
  14. # and library directories.
  15.  
  16. INC_DEST        = \bc\include\myinc # Destination for include files
  17. LIB_DEST        = d:\watcom\mylib   # Destination for library files
  18.  
  19. CC              = wcl386            # Name of C compiler
  20. ASM             = tasm              # Name of assembler
  21. LIB             = wlib              # Name of librarian
  22. LIB_FLAGS       = -q
  23.  
  24. !if $d(debug)
  25. CC_DOPT         = -d2               # Turn on debugging for C compiler
  26. ASM_DOPT        = /ZI               # Turn on debugging for assembler
  27. !endif
  28.  
  29. !if $d(optimize)
  30. CC_OPT          = -oneatx -s -zp4 -4r # Turn on full optimisation
  31. OPTIMIZE        = -Doptimize
  32. !endif
  33.  
  34. # Only compile for the 32 bit memory model
  35.  
  36. LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
  37. ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__X386__
  38. CC_FLAGS        = -zq -w4 -DDOS4GW $(CC_DOPT) $(CC_OPT)
  39. COMPILE_ONLY    = -c
  40. RSP_OPT         = -w
  41. COMPILER        = -Dwatcom
  42.  
  43.